<div class="pageContent">
	<if condition="$notNeedAuth">
		<form method="post" action="{:U('AdminUser/editUser?act=exec')}" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
			<input type="hidden" name="uid" value="{$user.id}">
			<div class="pageFormContent" layoutH="58">
				<div class="unit">
					<label>{$Think.lang.UI_NEW_PASSWORD}：</label>
					<input id="w_validation_pwd" type="password" size="30" name="password" class="required alphanumeric" minlength="5" maxlength="50" alt="字母、数字、下划线 5-50位"/>
				</div>
			</div>
			<div class="formBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">{$Think.lang.UI_SUBMIT}</button></div></div></li>
					<li><div class="button"><div class="buttonContent"><button type="button" class="close">{$Think.lang.UI_CANCEL}</button></div></div></li>
				</ul>
			</div>
		</form>
	<else />
		<form method="post" action="{:U('AdminUser/changePassword?act=exec')}" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
			<div class="pageFormContent" layoutH="58">
				<div class="unit">
					<label>{$Think.lang.UI_OLD_PASSWORD}：</label>
					<input type="password" name="old_password" size="30" class="required alphanumeric" minlength="5" maxlength="50" alt="字母、数字、下划线 5-50位"/>
				</div>
				<div class="unit">
					<label>{$Think.lang.UI_NEW_PASSWORD}：</label>
					<input id="w_validation_pwd" type="password" size="30" name="password" class="required alphanumeric" minlength="5" maxlength="50" alt="字母、数字、下划线 5-50位"/>
				</div>
				<div class="unit">
					<label>{$Think.lang.UI_PWD_CONFIRM}：</label>
					<input type="password" name="password_confirm" size="30" class="required" equalto="#w_validation_pwd" />
				</div>
			</div>
			<div class="formBar">
				<ul>
					<li><div class="buttonActive"><div class="buttonContent"><button type="submit">{$Think.lang.UI_SUBMIT}</button></div></div></li>
					<li><div class="button"><div class="buttonContent"><button type="button" class="close">{$Think.lang.UI_CANCEL}</button></div></div></li>
				</ul>
			</div>
		</form>
	</if>
</div>